package com.genius.reservation.plague.service;

import com.genius.reservation.guardPerson.entity.GuardPersonInformation;
import com.genius.reservation.plague.entity.PlagueInformation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 双码信息 服务类
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
public interface IPlagueInformationService extends IService<PlagueInformation> {

    default PlagueInformation saAndUp(PlagueInformation plague){
        this.saveOrUpdate(plague);
        return plague;
    }

    PlagueInformation findOneByDriver(String driverNumber);

}
